package com.liangzhong.model.footballLottery.vo
{
	/**
	 *竞猜详情 
	 * @author lake
	 * 
	 */	
	public class GuessDetailVo
	{
		/**
		 *球队1名字 
		 */		
		public var teamName1 		:String = "";
		/**
		 *球队2名字 
		 */		
		public var teamName2		:String = "";
		/**
		 *竞猜id 
		 */		
		public var gid				:int;
		/**
		 *竞猜标题 
		 */		
		public var title			:String = "";
		/**
		 * 球队1描述
		 */		
		public var desc1			:String ;
		/**
		 * 球队2描述
		 */		
		public var desc2			:String = "";
		/**
		 *球队1简要描述 
		 */		
		public var titleDesc1		:String = "";
		/**
		 *球队2简要描述 
		 */		
		public var titleDesc2		:String = "";
		/**
		 * 赢赔率
		 */		
		public var win				:Number = 0;
		/**
		 * 和赔率
		 */		
		public var tie				:Number = 0;
		/**
		 * 输赔率
		 */		
		public var lose				:Number = 0;
		/**
		 *竞猜时间
		 */		
		public var endDateStr		:String = "";
		/**
		 *该玩家是否在本项竞猜下过注，0为没有，1为有 
		 */		
		public var post				:int;
		/**
		 *下注信息 object
		 *{amt:100,choice:1,rate:1.9}
		 */		
		public var bets				:Array;
		/**
		 *1为竞猜中，2为已截止，3为已派奖 
		 */		
		public var status			:int;
		
		public function GuessDetailVo()
		{
		}
		/**
		 *解析数据 
		 * @param data
		 * 
		 */		
		public function parse(data :Object):void
		{
			gid = data.info.gid;
			title = data.info.title;
			teamName1 = data.info.hname;
			teamName2 = data.info.gname;
			desc1 = data.info.note_h;
			desc2 = data.info.note_g;
			titleDesc1 = data.info.desc_h;
			titleDesc2 = data.info.desc_g;
			win = data.info.win;
			tie = data.info.tie;
			lose = data.info.lose;
			endDateStr = data.info.edate;
			post = data.post;
			bets = data.self;
		}
	}
}